<!-- 文章编辑 -->
<template>
  <div class="container">
    <el-input placeholder="在此键入标题" size="small" v-model="article.title" style="margin: 10px 0" />
    <vue-editor v-model="article.content" placeholder="在此键入内容" />
    {{content}}
    <div id='html'></div>
  </div>
</template>

<script>
import { VueEditor } from 'vue2-editor'
export default {
  name: 'edit',
  components: { VueEditor },
  data() {
    return {
      article: {
        title: '',
        content: ''
      }
    }
  },
  methods: {
  }
}
</script>
<style lang='scss' scoped>
.container {
  margin: 50px auto 0;
  width: 1000px;
}
</style>
